﻿@model KL.Store.Web.Models.StockPricesModel
@using KL.Store.Core
@{
    Layout = null;
}
@using (Ajax.BeginForm("EditStockPrices2", "ProductManage", null, new AjaxOptions { HttpMethod = "Post", OnBegin = "loadingMsg();" }, new { id = "productpriecsedit", name = "productpriecsedit", @class = "form-horizontal editform" }))
{
    @Html.HiddenFor(model => model.ProductId);
    <div class="form-group">
        <label for="Prices_Alisfiyati" class="col-xs-1 control-label first">Alış Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.AlisFiyati, new { @class = "form-control" })
        </div>
        <label for="Prices_SatisFiyati" class="col-xs-1 control-label first">Satış Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.SatisFiyati, new { @class = "form-control" })
        </div>
        <label for="Prices_AlisFiyatiDoviz" class="col-xs-1 control-label first">Alış Fiyatı Döviz: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.AlisFiyatiDoviz, new { @class = "form-control" })
        </div>
        <label for="Prices_SatisFiyatiDoviz" class="col-xs-1 control-label first">Satış Fiyatı Döviz: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.SatisFiyatiDoviz, new { @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        <label for="Prices_BayiSatisFiyati" class="col-xs-1 control-label first">Bayi Satış Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.BayiSatisFiyati, new { @class = "form-control" })
        </div>
        <label for="Prices_MinSatisFiyati" class="col-xs-1 control-label first">Min. Satış Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.MinSatisFiyati, new { @class = "form-control" })
        </div>
        <label for="Prices_AlisDovizCinsi" class="col-xs-1 control-label first">Alış Döviz Cinsi: </label>
        <div class="col-xs-2 first">
            <select name="Prices.AlisDovizCinsi" id="Prices_AlisDovizCinsi" class="form-control">
                <option value="">Seçiniz</option>
                <option value="EUR" @{if (Model.Prices.AlisDovizCinsi == "EUR")
                                      {<text> selected="selected"</text>}}>EUR</option>
                <option value="TL" @{if (Model.Prices.AlisDovizCinsi == "TL")
                                     {<text> selected="selected"</text>}}>TL</option>
                <option value="USD" @{if (Model.Prices.AlisDovizCinsi == "USD")
                                      {<text> selected="selected"</text>}}>USD</option>
            </select>
        </div>
        <label for="Prices_SatisDovizCinsi" class="col-xs-1 control-label first">Satış Döviz Cinsi: </label>
        <div class="col-xs-2 first">
            <select name="Prices.SatisDovizCinsi" id="Prices_SatisDovizCinsi" class="form-control">
                <option value="">Seçiniz</option>
                <option value="EUR" @{if (Model.Prices.SatisDovizCinsi == "EUR")
                                      {<text> selected="selected"</text>}}>EUR</option>
                <option value="TL" @{if (Model.Prices.SatisDovizCinsi == "TL")
                                     {<text> selected="selected"</text>}}>TL</option>
                <option value="USD" @{if (Model.Prices.SatisDovizCinsi == "USD")
                                      {<text> selected="selected"</text>}}>USD</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="Prices_TedarikciFiyati" class="col-xs-1 control-label first">Tedarikçi Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.TedarikciFiyati, new { @class = "form-control" })
        </div>
        <label for="Prices_StokFiyati" class="col-xs-1 control-label first">Stok Fiyatı: </label>
        <div class="col-xs-2 first">
            @Html.TextBoxFor(model => model.Prices.StokFiyati, new { @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        <div class="col-xs-12 right alignright">
            <button type="submit" class="btn btn-custom1">Kaydet</button>
        </div>
    </div>
}
